var container = Ext.create('Ext.Container', {
  renderTo: Ext.getBody(),
  html: 'Click Me!',
  listeners: {
    click: function() {
      Ext.Msg.alert('Success!', 'I have been clicked!')
    }
  }
});

container.getEl().on('click', function() {
  this.fireEvent('click', container);
}, container);
